package yadong.example.code.jaxb;


public class SpecialFeature {
	private String url;
	private String displayText;
	private String displayImage;
	private String descriptionText;
	private Category category;
	public SpecialFeature() {
		
	}
	public SpecialFeature(String val) {
		this.url=val;
		this.displayText=val;
		this.displayImage=val;
		this.descriptionText=val;
		this.category = new Category(val);
	}
	public SpecialFeature(String url,
						  String displayText,
						  String displayImage,
						  String descriptionText,
						  Category cat) {
		this.url=url;
		this.displayText=displayText;
		this.displayImage=displayImage;
		this.descriptionText=descriptionText;
		this.category = cat;
	}
	
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getDisplayText() {
		return displayText;
	}
	public void setDisplayText(String displayText) {
		this.displayText = displayText;
	}
	public String getDisplayImage() {
		return displayImage;
	}
	public void setDisplayImage(String displayImage) {
		this.displayImage = displayImage;
	}
	public String getDescriptionText() {
		return descriptionText;
	}
	public void setDescriptionText(String descriptionText) {
		this.descriptionText = descriptionText;
	}
	public Category getCategory() {
		return category;
	}
	public void setCategory(Category category) {
		this.category = category;
	}

}
